<?php $this->beginContent("/layouts/main");?>
	<?php 
			$this->widget('ext.jqueryUi.jqueryUiWidget',array(
				'theme'=>'ui-lightness'
			));
	?>	
	<div id="sidebar" class="span-6 colborder">
		<script type="text/javascript">
			$(function(){
				$("#accordion").accordion({ 
					header: "h3",
					active:<?php echo Category::model()->activeAccordion($this->id);?>
				});
			});
		</script>
		<div id="accordion">
			<div>
				<h3><a href="#">文章</a></h3>
				<div>
					<div class="portlet clear"  style="top:-20px;position:relative;">
						<div class="portlet-content">
							<hr />
							<?php echo CHtml::link(Yii::t('zh_cn','List Article'),array('admin'));?><br />
							<?php echo CHtml::link(Yii::t('zh_cn','Create Article'),array('create'));?>
						</div>
					</div>
				</div>
			</div>
			<div>
				<h3><a href="#">目录</a></h3>
				<div>Phasellus mattis tincidunt nibh.</div>
			</div>
			<div>
				<h3><a href="#">Third</a></h3>
				<div>Nam dui erat, auctor a, dignissim quis.</div>
			</div>
		</div>
    </div>
    <div id="content">
		<?php echo $content;?>
	</div>
<?php $this->endContent();?>
